/**
  ******************************************************************************
  * @file   pd_h_rtc.h
  * @author Chris
  * @since  2023/12/11
  *
  * @brief  Header file of peripheral driver for RTC.
  *
  ******************************************************************************
  */
#ifndef JXTECH122_STM32G4_RTC_PD_H_RTC_H
#define JXTECH122_STM32G4_RTC_PD_H_RTC_H

#include "stm32g4xx.h"

extern uint16_t PD_RTC_Time[];

void PD_RTC_Init(void);

void PD_RTC_SetTime(void);

void PD_RTC_ReadTime(void);

uint32_t PD_RTC_GetTime();

uint32_t PD_RTC_GetDate();

#endif //JXTECH122_STM32G4_RTC_PD_H_RTC_H
